import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

const VipNameInput: FC<any> = ({ isHideLabel = false }) => {
	const { formatMessage } = useLocale()
	return (
		<SFormItem name="proxyName" label={isHideLabel ? "" : formatMessage({ id: "common.member_number" })}>
			<Input allowClear placeholder={formatMessage({ id: "common.member_number" })} />
		</SFormItem>
	)
}

export default VipNameInput
